package com.icost.directive;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
//exclude = {DataSourceAutoConfiguration.class}
@EnableJpaRepositories("com.icost.directive.repository") // 指定 Repository 包
@EntityScan("com.icost.directive.entity")              // 指定实体类包
public class DirectiveApplication {

	public static void main(String[] args) {
		SpringApplication.run(DirectiveApplication.class, args);
	}

}
